// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** 司机列表接口 POST /api/driver/list */
export async function driverList(body: DriverAPI.QueryParams) {
    return request<DriverAPI.Driver>('/api/driver/driverList', {
      method: 'POST',
      params: body
    });
  }

/** 司机信息获取接口 POST /api/driver/driverInfo */
export async function driverInfo(body: DriverAPI.QueryInfoParams) {
  return request<DriverAPI.Driver>('/api/driver/driverInfo', {
    method: 'POST',
    params: body
  });
}

/** 司机列表接口 POST /api/driver/list */
export async function driverRemove(body: DriverAPI.QueryInfoParams) {
  return request<DriverAPI.Driver>('/api/driver/driverRemove', {
    method: 'POST',
    params: body
  });
}